#ifndef __SCNS_POWER_H__
#define __SCNS_POWER_H__

#include "ScnsConfig.h"

#if defined(SCNS_POWER_ENABLE)&&SCNS_POWER_ENABLE==1

#include "ScnsYing.h"
#include "ScnsBspPower.h"

extern ScnsStatus scnsPowerInit(void);
extern float scnsPowerGetVoltage(void);
extern float scnsPowerGetCurrent(void);
extern ScnsStatus scnsPowerIfNeedCharge(void);
extern void scnsPowerInterrupt(void);
#endif
#endif
